package com.cssw.fyzb.core.eao.acct;

import com.cssw.fyzb.core.model.eos.AcctLogEo;
import com.cssw.fyzb.core.model.eos.VideoEo;
import com.ydn.dbframe.plugin.activerecord.Page;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author YangYiQun
 */
public interface AcctLogEao {

    /**
     * 添加账单信息
     *
     */
    void save(
            String logId, Long acctId, Long userId, String acctType, BigDecimal fee, String feeInDe, String tradeId,
            String tradeType, String tradeName, String busiType, Date createTime
    );

    /**
     * 根据账单 - 分页查询账户日志信息
     *
     * @param pageNumber
     * @param pageSize
     * @param userId
     * @param acctType
     * @return
     */
    Page<AcctLogEo> pageByType(int pageNumber, int pageSize, Long userId, String acctType);

}
